Allow to specify different time-of-day clock offsets for HVM guests.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 17 May 2006 22:43:32 +0000 (23:43 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 17 May 2006 22:43:32 +0000 (23:43 +0100)
commitbca9460e9462ee362ef3f051a8b44622e32c9e64
tree4d20f2c36d87b708e12519f9e536f236d366ce90
parent73e9ee97b4c3ccc5ab202625f71e22806325c553
Allow to specify different time-of-day clock offsets for HVM guests.

There are some usage scenarios in which differing user domains want
to be using different base TOD clocks. This patch adds the ability
to specify the base TOD time difference.  The patch also adds a
hook point to notify another entity when the domain changes this
offset. This might occur, for instance, on a Linux domain using
hwclock -w.

Signed-off-by: Ben Thomas <ben@virtualiron.com>
tools/ioemu/hw/mc146818rtc.c
tools/ioemu/hw/pc.c
tools/ioemu/vl.c
tools/ioemu/vl.h